package com.zjuee.base.model.common.company;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zjuee.base.model.Description;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 企业许可证信息表
 * 
 * @author wu liang
 * @since  1.0
 */
@Data
@TableName("bc_company_license")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class CompanyLicense extends Description {

	/**企业ID*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Long bciId;

	/**许可证编号*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bclCode;

	/**原平台许可证Id*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Long bclSourceId;

	/**是否豁免*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bclExempt;

	/**是否包含医废*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bclMedical;

	/**初次发证日期*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	@JSONField(format="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
	private Date bclFirsterIssueDate;

	/**发证日期*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	@JSONField(format="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
	private Date bclIssueDate;

	/**有效开始日期*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	@JSONField(format="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
	private Date bclValidStartDate;

	/**有效结束日期*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	@JSONField(format="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
	private Date bclValidEndDate;

	/**是否上传全国平台 0：未上传 1：已上传*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Integer bclIsUpload;

	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Integer bclIsUploadProvince;

	/**证书存储路径*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bclUrl;

	/**停用启用 0：停用 1：启用*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Integer bclStatus;

	/**创建人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bclCreator;

	/**创建时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bclCreateTime;

	/**修改人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bclModifier;

	/**修改时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bclModifiedTime;

	/**备注*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bclRemark;

}
